#ifndef WATER_H
#define WATER_H

#include <QGLWidget>
#include <QGLShaderProgram>
#include <QSharedPointer>
#include "mathbox.h"

class Water
{
public:
	Water(const QGLContext* context);
	bool loadTextures( QGLWidget* glwidget );
	bool loadShaders();
	void draw(const ShipRenderData& mathModel, const std::vector<float>& lookFrom, const GLuint shadowMap = 0);

private:
	QGLShaderProgram shader;
	GLuint normalMap;
};

#endif // WATER_H